import Vue from 'vue'
import App from './App.vue'
import router from './router'         //路由
import axios from 'axios'             //http请求
import ElementUI from 'element-ui';   //组件
import store from '@/store'            //vueX

//css
import 'element-ui/lib/theme-chalk/index.css';//组件样式
import 'animate.css';                        //动画的css样式

// Vue.use(Vuex)
Vue.use(ElementUI);
Vue.prototype.$axios = axios
// axios.defaults.baseURL = 'https://api.example.com';//配置全局的axios地址
Vue.config.productionTip = false

new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
